const express = require("express");
const path = require("path");
let app = express();

app.get("/getdata",(req,res)=>{
    console.log("有请求过来了");
   res.json({
    info:"我是4000端口返还的内容",
    status:1
   })
})

app.listen(4000,function(){
    console.log("4000");
});